//
//  RecSearchCollectionViewCell.m
//  TravelEveryDay
//
//  Created by dlios on 15-10-21.
//  Copyright (c) 2015年 com.lanou3g. All rights reserved.
//

#import "RecSearchCollectionViewCell.h"

@implementation RecSearchCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 110 * WIDTH, 30 * HEIGHT)];
        _label.layer.masksToBounds = YES;
        _label.layer.cornerRadius = 10;
        _label.layer.borderWidth = 1.;
        _label.textColor = [UIColor colorWithRed:62/255 green:176/255. blue:193/255. alpha:1];
        _label.textAlignment  = NSTextAlignmentCenter;
        _label.layer.borderColor = [[UIColor colorWithRed:62/255 green:176/255. blue:193/255. alpha:1] CGColor];
        [self.contentView addSubview:_label];
    }
    return self;
}
@end
